﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ProgramWindow.BLL
{
    public class ProgramBLL
    {
        public static string GetType(string code)
        {
            try
            {
                string[] text = code.Split('-');
                if (text.Length < 4)
                {
                    return "";
                }
                return text[2];
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }
    }
}
